package com.yc.movie.entity;

import java.io.Serializable;

public class Member implements Serializable {

    private int mno;//会员编号
    private String mname;//会员名
    private String mpwd;//密码
    private String mtel;//手机号码
    private  int mstate;//状态  1可用  0 冻结

    @Override
    public String toString() {
        return "Member{" +
                "mno=" + mno +
                ", mname='" + mname + '\'' +
                ", mpwd='" + mpwd + '\'' +
                ", mtel='" + mtel + '\'' +
                ", mstate=" + mstate +
                '}';
    }

    public void setMno(int mno) {
        this.mno = mno;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public void setMpwd(String mpwd) {
        this.mpwd = mpwd;
    }

    public void setMtel(String mtel) {
        this.mtel = mtel;
    }

    public void setMstate(int mstate) {
        this.mstate = mstate;
    }

    public int getMno() {
        return mno;
    }

    public String getMname() {
        return mname;
    }

    public String getMpwd() {
        return mpwd;
    }

    public String getMtel() {
        return mtel;
    }

    public int getMstate() {
        return mstate;
    }

    public Member() {
    }

    public Member(int mno, String mname, String mpwd, String mtel, int mstate) {
        this.mno = mno;
        this.mname = mname;
        this.mpwd = mpwd;
        this.mtel = mtel;
        this.mstate = mstate;
    }
}
